export const noContain = (val, arr) => {
	return arr.filter((item) => item === val).length === 0;
};

export const excludeUri = (arr, obj) => {
	return arr.filter((item) => obj.url.startsWith(item)).length === 0;
};

export const isNotEmpty = function (str) {
	return !isEmpty(str);
};

export const isEmpty = (str) => {
	return str === undefined || str === null || str === '';
};
